package com.dissertation.service;

import com.dissertation.model.CategoryLeaf;
import com.dissertation.model.CategoryTree;
import com.dissertation.model.auth.Role;
import com.dissertation.pojo.CategoryTreeVO;

import org.apache.shiro.subject.Subject;
import java.util.List;
import java.util.Set;

public interface CategoryTreeService {

   public String save(CategoryTreeVO categoryTreeVO);

   List<CategoryTree> findAllTree(Set<Role>  role);
}
